<template>
	<button :style="{color:color,backgroundColor:bgcolor}">{{title}}</button>
</template>
<script>
export default {
    props:["title","bgcolor","color"],
	data(){
		return{
			
		}
	}
};
</script>
<style lang="scss" scoped>
	button{
		width: 100%;
		outline: none;
		border: none;
		padding: 0.24rem 0;
		margin: 0 auto;
		border-radius: 3px;
		transition: all 0.2s;
	}
	button:active{
		opacity: 0.8;
		transition: all 0.2s;
	}
</style>
